class Favorite < ActiveRecord::Base

  belongs_to :user
  belongs_to :weibo

  def self.search(conditions, page, order)
    paginate :per_page => 10, :page => page,
      :conditions => conditions,
      :order => order
  end

end
